\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 Appkit Text Margin\
\
Q: How do the Text object margins work?\
\i \
\i0 A:
\fc0 The margins do work, but it's difficult to correctly set them. You need to offset the values by the frame rectangle of the text. The following code snippet illustrates the necessary steps:\
\
\f2\fs24 /* This routine assumes that you have defined currentDocText somewhere else */ \